<template>
  <div class="score">
    <img class="star"
      :src="score >= i ? require('../assets/image/icon_star_active.png') : require('../assets/image/icon_star.png')"
      alt="" v-for="i in 5">
  </div>
</template>

<script>
export default {
  props: ['score']
}
</script>

<style lang="less" scoped>
.score {
  .star {
    width: 12px;
    height: 12px;
  }
}
</style>